package com.loong.nnm.entity.devm;

public class MeParameter {

    private enum RunStatus {
        installing,running,maintenance
    }
//    <me xmlns="urn:ccsa:yang:acc-devm">
//        <name>x</name>
//        <status>running</status>
//        <ip-address>100.130.100.80%B</ip-address>
//        <mask>176.150.165.67</mask>
//        <ntp-enable>false</ntp-enable>
//        <ntp-servers>
//          <ntp-server>
//            <name>x</name>
//            <ip-address>105.101.140.62%4</ip-address>
//            <port>0</port>
//            <ntp-version>x</ntp-version>
//          </ntp-server>
//        </ntp-servers>
//        <gate-way1>134.137.101.65%٠</gate-way1>
//        <gate-way2>113.185.158.75%۲</gate-way2>
//      </me>

    private String name;
    private RunStatus status;
    private String ipAddress;
    private String mask;
    private String gateWay1;
    private String gateWay2;
    private boolean ntpEnable;


    @Override
    public String toString() {
        return "MeParameter{" +
                "name='" + name + '\'' +
                ", status=" + status +
                ", ipAddress='" + ipAddress + '\'' +
                ", mask='" + mask + '\'' +
                ", gateWay1='" + gateWay1 + '\'' +
                ", gateWay2='" + gateWay2 + '\'' +
                ", ntpEnable=" + ntpEnable +
                '}';
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public RunStatus getStatus() {
        return status;
    }

    public void setStatus(RunStatus status) {
        this.status = status;
    }

    public String getIpAddress() {
        return ipAddress;
    }

    public void setIpAddress(String ipAddress) {
        this.ipAddress = ipAddress;
    }

    public String getMask() {
        return mask;
    }

    public void setMask(String mask) {
        this.mask = mask;
    }

    public String getGateWay1() {
        return gateWay1;
    }

    public void setGateWay1(String gateWay1) {
        this.gateWay1 = gateWay1;
    }

    public String getGateWay2() {
        return gateWay2;
    }

    public void setGateWay2(String gateWay2) {
        this.gateWay2 = gateWay2;
    }

    public boolean isNtpEnable() {
        return ntpEnable;
    }

    public void setNtpEnable(boolean ntpEnable) {
        this.ntpEnable = ntpEnable;
    }
}
